package com.prs.crm.domain.official;


import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.prs.crm.domain.BaseEntity;

/**
 * 文件收藏
 * @author Yanghao
 *	2012-8-23 17:53:19
 */
@Entity
@Table(name="official_filetransmitcollect")
public class FileTransmitCollect extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	
	@ManyToOne
	private FileTransmit fileTransmit;
	
	@ManyToOne
	private FileTransmitReceive fileTransmitReceive;
	
	@ManyToOne
	private FileTransmitCollectType type;  //收藏类别
	
	public FileTransmitReceive getFileTransmitReceive() {
		return fileTransmitReceive;
	}

	public void setFileTransmitReceive(FileTransmitReceive fileTransmitReceive) {
		this.fileTransmitReceive = fileTransmitReceive;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public FileTransmit getFileTransmit() {
		return fileTransmit;
	}

	public void setFileTransmit(FileTransmit fileTransmit) {
		this.fileTransmit = fileTransmit;
	}

	public FileTransmitCollectType getType() {
		return type;
	}

	public void setType(FileTransmitCollectType type) {
		this.type = type;
	}
}
